package com.xinsoft.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @title: DeleteForm
 * @package: cn.o.baseline.modules.scm.form
 * @projectName: ocn-baseline-web
 * @author: jiangyueqi
 * @date: 2020/12/14 15:36
 */

@ApiModel(value = "删除表单")
@Data
public class DeleteForm {

    @ApiModelProperty(value = "ids")
    @NotNull(message = "请选择删除对象")
    @Size(min = 1, message = "请选择删除对象")
    private List<Long> ids;
}
